package admin_menus

// 表名也是cache的tag
var TableName = "admin_menus"

// 后台管理菜单
type AdminMenus struct {
	Id    int64
	Pid   int64  `xorm:"integer null default(0) 'pid'"`
	Title string `xorm:"varchar(64) notnull 'title'"`
	Route string `xorm:"varchar(64) notnull 'route'"`

	Sort int `xorm:"integer null default(0) 'sort'"`

	Icon string `xorm:"varchar(64) null 'icon'"`
	Path string `xorm:"varchar(64) null 'path'"`

	AdminId int64 `xorm:"integer default(0) 'admin_id'"`
	Status  int   `xorm:"tinyint notnull default(0) 'status'"`
}
